package com.yxtp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;

import com.yxtp.entity.User;


public interface UserMapper {

	//查询用户名和密码
	public User selectUserByUsernameAndPwd(@Param("username")String username,@Param("password")String password);
	//添加用户
	public void addUser(User user);
	//查询
	public String selectByUsername(@Param("username")String username);
}
